package cn.lanqiao.book.dao;

import cn.lanqiao.book.pojo.Book;
import cn.lanqiao.book.pojo.category;

import java.util.List;

public interface ICategoryDao {
    void addCatefory(category category);
    void deleteCategory(String name);
    List<category> queryAll();
    category queryForOne(String name);
    void updateCategory(category category);
    List<category> search(String name);
    category queryForOnebyid(int id);
}
